/**
 * Created by nyf on 2017/7/7.
 */
export const USER_API_TYPE = "userApi";
export const userApi = [
    {
        "key": "Login","method": "POST",// 用户登录
        "url": "/api/admin-login-code"
    },{
        "key": "EditPassword","method": "PUT",// 修改密码
        "url": "/api/v1/talent/auth/login-password"
    },{
        "key": "SendCode","method": "POST",// 发送验证码
        "url": "/api/mobile-request-code"
    },{
        "key": "ForgetPassword","method": "POST",// 忘记密码
        "url": "/api/user/v1/login-code"
    },{
        "key": "UserList","method": "GET",// 用户列表
        "url": "/api/admin/userlist/"
    },{
        "key": "UserInfo","method": "POST",// 用户列表
        "url": "/api/admin/userinfo"
    }
];

// order
export const ORDER_API_TYPE = "orderApi";
export const orderApi = [
    {
        "key": "OrderList","method": "POST",// 订单列表（个人订单列表）
        "url": "/api/userorder/orderList"
    },{
        "key": "SendPackage","method": "PUT",// 更新发货
        "url": "/api/admin/package/edit"
    }
];


// cash
export const CASH_API_TYPE = "cashApi";
export const cashApi = [
    {
        "key": "CashList","method": "POST",// 提现列表
        "url": "/api/userorder/cashbackList"
    },{
        "key": "UpdateCash","method": "GET",// 更新提现
        "url": "/api/admin/updateCashback/"
    }
];


